package com.weilive.pay.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.weilive.pay.dao.model.CashTx;

public interface CashTxMapper {
    int deleteByPrimaryKey(Integer cashTxClassId);

    int insert(CashTx record);

    int insertSelective(CashTx record);

    CashTx selectByPrimaryKey(Integer cashTxClassId);

    int updateByPrimaryKeySelective(CashTx record);

    int updateByPrimaryKey(CashTx record);
    
    @Select("select * from c_cash_tx")
    @ResultMap("com.weilive.pay.dao.mapper.CashTxMapper.BaseResultMap")
    List<CashTx> getAllCaxh();
}